package com.example.redis.demo.dto;

import javax.validation.constraints.NotNull;

/**
 * 更新用户信息的DTO
 */
public class UpdateUserInfoDTO {


    @NotNull(message = "邮箱必须")
    private String email;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
